﻿using System.Web;
using System.Web.Optimization;

namespace Client.UQBuy.Web
{
    public class BundleConfig
    {
        // 有关 Bundling 的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                "~/Scripts/jquery-{version}.js",
                "~/Scripts/jquery.ext.js"));
            bundles.Add(new ScriptBundle("~/bundles/jquery.pin").Include(
                "~/Scripts/jquery.pin.js",
                "~/Scripts/extJquery.js"));
            bundles.Add(new ScriptBundle("~/bundles/easyui/1.2.6").Include(
                "~/Content/easyui/1.2.6/easyloader.js"));
            bundles.Add(new ScriptBundle("~/bundles/easyui/1.3.2").Include(
                "~/Content/easyui/1.3.2/easyloader.js"));
            bundles.Add(new ScriptBundle("~/bundles/easyui/1.3.3").Include(
                "~/Content/easyui/1.3.3/easyloader.js"));
            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                "~/Content/bootstrap/js/bootstrap.js"));
            bundles.Add(new ScriptBundle("~/bundles/uploadify").Include(
                "~/Content/uploadify/jquery.uploadify.js"));




            // 使用要用于开发和学习的 Modernizr 的开发版本。然后，当你做好
            // 生产准备时，请使用 http://modernizr.com 上的生成工具来仅选择所需的测试。
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                "~/Scripts/modernizr-*"));

            bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                "~/Content/themes/base/jquery.ui.core.css",
                "~/Content/themes/base/jquery.ui.resizable.css",
                "~/Content/themes/base/jquery.ui.selectable.css",
                "~/Content/themes/base/jquery.ui.accordion.css",
                "~/Content/themes/base/jquery.ui.autocomplete.css",
                "~/Content/themes/base/jquery.ui.button.css",
                "~/Content/themes/base/jquery.ui.dialog.css",
                "~/Content/themes/base/jquery.ui.slider.css",
                "~/Content/themes/base/jquery.ui.tabs.css",
                "~/Content/themes/base/jquery.ui.datepicker.css",
                "~/Content/themes/base/jquery.ui.progressbar.css",
                "~/Content/themes/base/jquery.ui.theme.css"));

            bundles.Add(new StyleBundle("~/Content/css/easyui/1.2.6").Include(
                "~/Content/easyui/1.2.6/themes/icon.css"));
            bundles.Add(new StyleBundle("~/Content/css/easyui/1.3.2").Include(
                "~/Content/easyui/1.3.2/themes/icon.css"));
            bundles.Add(new StyleBundle("~/Content/css/easyui/1.3.3").Include(
                "~/Content/easyui/1.3.3/themes/icon.css"));


            bundles.Add(new StyleBundle("~/Content/css/bootstrap").Include(
                "~/Content/bootstrap/css/bootstrap.css",
                "~/Content/bootstrap/css/bootstrap-responsive.css"));

            bundles.Add(new StyleBundle("~/Content/css/uploadify").Include(
                "~/Content/uploadify/uploadify.css"));
        }
    }
}